package com.atwisdom.star.service.pojo;

import com.atwisdom.star.exception.pojo.BusinessException;

/**
 * @ClassName: BasicStatus
 * @ Description:状态字段常量管理
 * @author:王红艳
 * @date:2025/06/05
 */
public class BasicStatus {

    public static final String SALES_ORDER_STATUS_CREATE = "创建";
    public static final String SALES_ORDER_STATUS_ENABLE = "启用";
    public static final String SALES_ORDER_STATUS_UNABLE = "停用";
    public static final String SALES_ORDER_STATUS_PLANNED = "已计划";
    public static final String SALES_ORDER_STATUS_MAKING = "在制";
    public static final String SALES_ORDER_STATUS_IN_WAREHOUSE = "在库";
    public static final String SALES_ORDER_STATUS_FINISH = "完成";

    public static final String PRODUCTION_PLAN_STATUS_CREATE = "创建";
    public static final String PRODUCTION_PLAN_STATUS_ENABLE = "启用";
    public static final String PRODUCTION_PLAN_STATUS_UNABLE = "停用";
    public static final String PRODUCTION_PLAN_STATUS_MAKING = "在制";
    public static final String PRODUCTION_PLAN_STATUS_IN_WAREHOUSE = "在库";
    public static final String PRODUCTION_PLAN_STATUS_FINISH = "完成";

    public static final String ROUTING_PLAN_STATUS_CREATE = "创建";
    public static final String ROUTING_PLAN_STATUS_ENABLE = "启用";
    public static final String ROUTING_PLAN_STATUS_UNABLE = "停用";
    public static final String ROUTING_PLAN_STATUS_EXECUTE = "下派";
    public static final String ROUTING_PLAN_STATUS_MAKING = "在制";
    public static final String ROUTING_PLAN_STATUS_IN_WAREHOUSE = "在库";
    public static final String ROUTING_PLAN_STATUS_FINISH = "完成";

    public static final String WORK_CENTER_STATUS_CREATE = "创建";
    public static final String WORK_CENTER_STATUS_EXECUTE = "下派";
    public static final String WORK_CENTER_STATUS_BEGIN = "开工";
    public static final String WORK_CENTER_STATUS_STOP = "暂停";
    public static final String WORK_CENTER_STATUS_FINISH = "完工";

    public static final String WORK_NOTICE_STATUS_CREATE = "创建";
    public static final String WORK_NOTICE_STATUS_EXECUTE = "下派";
    public static final String WORK_NOTICE_STATUS_BEGIN = "开工";
    public static final String WORK_NOTICE_STATUS_STOP = "暂停";
    public static final String WORK_NOTICE_STATUS_FINISH = "完工";

    public static final String WORK_UNIT_STATUS_FREE = "空闲";
    public static final String WORK_UNIT_STATUS_WORK = "工作";

    public static final String WORK_REPORT_STATUS_REPORT = "准报工";
    public static final String WORK_REPORT_STATUS_REPORT_CONFIRM = "报工";

    public static final String TANK_STATUS_CREATE = "创建";
    public static final String TANK_STATUS_ENABLE = "启用";
    public static final String TANK_STATUS_UNABLE = "停用";
    public static final String TANK_STATUS_ABANDON = "下派";

    public static final String TANK_RUN_STATUS_OCCUPY = "占用";
    public static final String TANK_RUN_STATUS_FREE = "空置";
    public static final String TANK_RUN_STATUS_SPLIT = "分置";

    public static final String APPROVE_STATUS_APPLY = "申请";
    public static final String APPROVE_STATUS_RETURN = "退回";
    public static final String APPROVE_STATUS_APPROVE = "批准";
    public static final String APPROVE_STATUS_REAPPLY = "再申请";
    public static final String APPROVE_STATUS_REVIEW_RETURN = "反审退回";





    private BasicStatus(){
        throw new BusinessException("500","BasicStatus禁止被实例化！");
    }
}
